package baidu.bms.filter;


import java.util.Map;


/**
 * @author sunqiyuan
 * @Classname DubboContext
 * @Description TODO
 * @Date 2020/10/15 3:29 下午
 * @Version V1.0
 */
public class DubboContext {
    public static String[] transparentHeaders = {"traceId"};
    private static ThreadLocal<Map<String, String>> contextThreadLocal = new ThreadLocal<>();

    public static Map<String, String> getContextMap() {
        return contextThreadLocal.get();
    }

    public static void setContextMap(Map<String, String> contextMap) {
        contextThreadLocal.set(contextMap);
    }


}
